package com.zenith.zongheng.demo.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author tangzx
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@ApiModel(value="LeaveType对象", description="")
public class LeaveType implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "请假类型表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "请假类型：1:婚假；2:年休；3:产假")
    private String leaveType;



    public static final String ID = "id";
    public static final String LEAVE_TYPE = "leave_type";
}
